/**
 * 
 */
package com.whale.util;

import java.util.Date;

/**
 * @author lzk
 *
 */
public class TimeUtil {
	
	public static String timsDiff(Date time)
	{
		long between=(time.getTime()-new Date().getTime())/1000;
		long day=between/(24*3600);
        long hour=between%(24*3600)/3600;
		long minute=between%3600/60;
		return minute+"分钟前";
	}

}
